n1 = 255
n2 = 1000

print('n1 = %s' % hex(n1))
print('n2 = %s' % hex(n2))
print(f'n1 = {n1:x}')
print(f'n2 = {n2:#x}')